home *** CD-ROM | disk | FTP | other *** search
- object Form1: TForm1
- Left = 192
- Top = 107
- Width = 823
- Height = 545
- Caption = 'ADOX Examples'
- Color = clBtnFace
- Font.Charset = DEFAULT_CHARSET
- Font.Color = clWindowText
- Font.Height = -11
- Font.Name = 'MS Sans Serif'
- Font.Style = []
- OldCreateOrder = False
- PixelsPerInch = 96
- TextHeight = 13
- object Label1: TLabel
- Left = 8
- Top = 272
- Width = 69
- Height = 13
- Caption = 'Column Name:'
- end
- object Button1: TButton
- Left = 8
- Top = 16
- Width = 185
- Height = 25
- Caption = 'List Northwind Tables'
- TabOrder = 0
- OnClick = Button1Click
- end
- object Memo1: TMemo
- Left = 407
- Top = 0
- Width = 408
- Height = 398
- Align = alRight
- TabOrder = 1
- end
- object btnStruct: TButton
- Left = 8
- Top = 80
- Width = 185
- Height = 25
- Caption = 'List Customers Structure'
- TabOrder = 2
- OnClick = btnStructClick
- end
- object Button3: TButton
- Left = 8
- Top = 48
- Width = 185
- Height = 25
- Caption = 'Show Customers Table Properties'
- TabOrder = 3
- OnClick = Button3Click
- end
- object Button2: TButton
- Left = 8
- Top = 112
- Width = 185
- Height = 25
- Caption = 'Create C:\Temp\Temp.mdb'
- TabOrder = 4
- OnClick = Button2Click
- end
- object Button4: TButton
- Left = 8
- Top = 144
- Width = 185
- Height = 25
- Caption = 'Create Customers table in Temp.mdb'
- TabOrder = 5
- OnClick = Button4Click
- end
- object DBGrid1: TDBGrid
- Left = 0
- Top = 398
- Width = 815
- Height = 120
- Align = alBottom
- DataSource = DataSource1
- TabOrder = 6
- TitleFont.Charset = DEFAULT_CHARSET
- TitleFont.Color = clWindowText
- TitleFont.Height = -11
- TitleFont.Name = 'MS Sans Serif'
- TitleFont.Style = []
- end
- object CheckBox1: TCheckBox
- Left = 0
- Top = 376
- Width = 129
- Height = 17
- Caption = 'ADOTable1.Active'
- TabOrder = 7
- OnClick = CheckBox1Click
- end
- object btnModify: TButton
- Left = 8
- Top = 176
- Width = 185
- Height = 25
- Caption = 'Delete PHONE, Add FAX'
- TabOrder = 8
- OnClick = btnModifyClick
- end
- object btnAlterCol: TButton
- Left = 8
- Top = 208
- Width = 185
- Height = 25
- Caption = 'Change CUSTNAME to 30'
- TabOrder = 9
- OnClick = btnAlterColClick
- end
- object Button5: TButton
- Left = 8
- Top = 240
- Width = 185
- Height = 25
- Caption = 'Copy CUSTNAME To TEMP'
- TabOrder = 10
- OnClick = Button5Click
- end
- object Button6: TButton
- Left = 8
- Top = 296
- Width = 185
- Height = 25
- Caption = 'Delete Column'
- TabOrder = 11
- OnClick = Button6Click
- end
- object btnAutoInc: TButton
- Left = 8
- Top = 328
- Width = 185
- Height = 25
- Caption = 'Add An AutoIncrement Column'
- TabOrder = 12
- OnClick = btnAutoIncClick
- end
- object edtColName: TEdit
- Left = 88
- Top = 272
- Width = 105
- Height = 21
- TabOrder = 13
- Text = 'TEMP'
- end
- object btnCreateIndex: TButton
- Left = 216
- Top = 16
- Width = 169
- Height = 25
- Caption = 'Create Index'
- TabOrder = 14
- OnClick = btnCreateIndexClick
- end
- object btnCreateCIndex: TButton
- Left = 216
- Top = 48
- Width = 169
- Height = 25
- Caption = 'Create Composite Index'
- TabOrder = 15
- OnClick = btnCreateCIndexClick
- end
- object Button7: TButton
- Left = 216
- Top = 80
- Width = 169
- Height = 25
- Caption = 'Create ORDERS Table'
- TabOrder = 16
- OnClick = Button7Click
- end
- object btnAddPKey: TButton
- Left = 216
- Top = 112
- Width = 169
- Height = 25
- Caption = 'Add Primary Key To Customers'
- TabOrder = 17
- OnClick = btnAddPKeyClick
- end
- object btnDropPKey: TButton
- Left = 216
- Top = 144
- Width = 169
- Height = 25
- Caption = 'Drop Primary Key'
- TabOrder = 18
- OnClick = btnDropPKeyClick
- end
- object btnAddFKey: TButton
- Left = 216
- Top = 176
- Width = 169
- Height = 25
- Caption = 'Add Foreign Key To Orders'
- TabOrder = 19
- OnClick = btnAddFKeyClick
- end
- object btnChangeRule: TButton
- Left = 216
- Top = 208
- Width = 169
- Height = 25
- Caption = 'Change Update Rule'
- TabOrder = 20
- OnClick = btnChangeRuleClick
- end
- object btnDeleteFKey: TButton
- Left = 216
- Top = 240
- Width = 169
- Height = 25
- Caption = 'Delete Foreign Key'
- TabOrder = 21
- OnClick = btnDeleteFKeyClick
- end
- object CheckBox2: TCheckBox
- Left = 216
- Top = 376
- Width = 169
- Height = 17
- Caption = 'ADOConnection2.Connected'
- TabOrder = 22
- OnClick = CheckBox2Click
- end
- object Button8: TButton
- Left = 216
- Top = 336
- Width = 169
- Height = 25
- Caption = 'Memo1.Clear'
- TabOrder = 23
- OnClick = Button8Click
- end
- object ADOConnection1: TADOConnection
- Connected = True
- ConnectionString =
- 'Provider=Microsoft.Jet.OLEDB.4.0;Password="";User ID=Admin;Data ' +
- 'Source=E:\Program Files\Microsoft Office\Office\Samples\Northwin' +
- 'd.mdb;Mode=Share Deny None;Extended Properties="";Locale Identif' +
- 'ier=1033;Jet OLEDB:System database="";Jet OLEDB:Registry Path=""' +
- ';Jet OLEDB:Database Password="";Jet OLEDB:Engine Type=4;Jet OLED' +
- 'B:Database Locking Mode=0;Jet OLEDB:Global Partial Bulk Ops=2;Je' +
- 't OLEDB:Global Bulk Transactions=1;Jet OLEDB:New Database Passwo' +
- 'rd="";Jet OLEDB:Create System Database=False;Jet OLEDB:Encrypt D' +
- 'atabase=False;Jet OLEDB:Don'#39't Copy Locale on Compact=False;Jet O' +
- 'LEDB:Compact Without Replica Repair=False;Jet OLEDB:SFP=False'
- LoginPrompt = False
- Mode = cmShareDenyNone
- Provider = 'Microsoft.Jet.OLEDB.4.0'
- Left = 440
- Top = 16
- end
- object ADOConnection2: TADOConnection
- ConnectionString =
- 'Provider=Microsoft.Jet.OLEDB.4.0;Password="";User ID=Admin;Data ' +
- 'Source=C:\TEMP\Test.mdb;Mode=Share Deny None;Extended Properties' +
- '="";Locale Identifier=1033;Jet OLEDB:System database="";Jet OLED' +
- 'B:Registry Path="";Jet OLEDB:Database Password="";Jet OLEDB:Engi' +
- 'ne Type=4;Jet OLEDB:Database Locking Mode=0;Jet OLEDB:Global Par' +
- 'tial Bulk Ops=2;Jet OLEDB:Global Bulk Transactions=1;Jet OLEDB:N' +
- 'ew Database Password="";Jet OLEDB:Create System Database=False;J' +
- 'et OLEDB:Encrypt Database=False;Jet OLEDB:Don'#39't Copy Locale on C' +
- 'ompact=False;Jet OLEDB:Compact Without Replica Repair=False;Jet ' +
- 'OLEDB:SFP=False'
- LoginPrompt = False
- Provider = 'Microsoft.Jet.OLEDB.4.0'
- Left = 144
- Top = 424
- end
- object ADOTable1: TADOTable
- Connection = ADOConnection2
- CursorType = ctStatic
- IndexName = 'CUSTNAMEINDEX'
- TableName = 'Customers1'
- Left = 272
- Top = 424
- end
- object DataSource1: TDataSource
- DataSet = ADOTable1
- Left = 408
- Top = 424
- end
- end
-